home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / rlib / int2str.r < prev    next >
Encoding:
Text File  |  1994-09-23  |  357 b   |  18 lines  |  [TEXT/RLAB]

  1. //-------------------------------------------------------------------
  2. //
  3. // int2str
  4. //
  5. // Syntax: s = int2str(n)
  6. //
  7. // This routine converts the integer n to a string which
  8. // is returned.
  9. //
  10. // Original Author: Jeff Layton
  11. //-------------------------------------------------------------------
  12.  
  13. int2str = function(n)
  14. {
  15.   sprintf(s,"%.0f",n);
  16.   return s;
  17. };
  18.